package gen

import "excel2lua/meta"

type RowType int32

const Array RowType = 1
const Map RowType = 2

type Generator interface {
	Gen()
	// GenObjectRow(rowType RowType, rowKey string, obj map[string]string) string
	// GenManager() error
	// Initialize() Generator
	// ProcessRef()
}

func NewLuaGenerator(dir string, DataStore map[string]meta.DataStore, ignoreClass []string) Generator {
	g := &LuaGenerator{dir: dir, initialized: false, store: DataStore, ignores: ignoreClass}
	return g.initialize()
}
